package org.lanqiao.practice_2;

import org.junit.Test;

public class TestDriver9 {
	//测试正则表达式
	@Test
	public void test0(){
		char c='你';
		String str="sibfuy156asd15a3s1d53asd13asd1,<><L,l;Wd,l;,";
			
		System.out.println(str.replaceAll("[^a-z]",""));
		
		String str1="2006-04-15 02:31:15";
		System.out.println(str1.replaceAll("\\D", ""));
		
		String []str2=str1.split("\\D");
		for (String string : str2) {
			System.out.print(string);
		}
		System.out.println(c);
	}
}
